package com.wf.course.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.utils.page.PageBean;
import com.wf.course.model.goods.GoodsOrder;
import com.wf.course.model.member.MemberInvitation;

public interface IMemberInvitationMapper {
	/**
	 * 用户邀请：列表
	 * @param pageBean
	 * @return
	 */
	List<MemberInvitation> getMemberInvitationList(PageBean<MemberInvitation> pageBean);
	
	/**
	 * 用户邀请：数量
	 * @param pageBean
	 * @return
	 */
	Integer getMemberInvitationCount(PageBean<MemberInvitation> pageBean);
	
	/**
	 * 用户邀请：添加
	 * @param memberInvitation
	 */
	/*void saveMemberInvitation(MemberInvitation memberInvitation);*/
	
	/**
	 * 根据id删除用户邀请
	 * @param id
	 */
	/*void deleteMemberInvitation(Integer id);*/
	
	/**
	 * 根据id查询一条用户邀请
	 * @param id
	 * @return
	 */
	/*MemberInvitation memberInvitationLoad(Integer id);*/
	
	/**
	 * 修改一条用户邀请
	 * @param memberInvitation
	 * @return
	 */
	/*Integer updateMemberInvitation(MemberInvitation memberInvitation);*/
	/**
	 * 通过邀请人编号去查询铜钱价值
	 * @param memberInvitation
	 * @return
	 */
	List<MemberInvitation> getcoinValue(
			 @Param("inviterId")Object inviterId);
	/**
	 * 铜钱关系：列表
	 * @param pageBean
	 * @return
	 */
	List<MemberInvitation> getMemberInvitationCoinlogList(PageBean<MemberInvitation> pageBean);
	/**
	 * 铜钱关系：分页
	 * @param pageBean
	 * @return
	 */

	Integer getMemberInvitationCoinlogCount(PageBean<MemberInvitation> pageBean);
	/**
	 * 优惠券：列表
	 * @param pageBean
	 * @return
	 */
	List<MemberInvitation> getMemberInvitationActivityList(PageBean<MemberInvitation> pageBean);
	/**
	 * 优惠券：分页
	 * @param pageBean
	 * @return
	 */

	Integer getMemberInvitationActivityCount(PageBean<MemberInvitation> pageBean);

	List<MemberInvitation> queryyUserId( @Param("inviterId")Integer inviterId);

	
}
